package cn.pet_know.service;

import cn.pet_know.entity.KnowledgeType;
import cn.pet_know.entity.dto.KnowledgeTypeDTO;
import cn.pet_know.entity.vo.KnowledgeTypeVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author haotchen
 * @date  2023-12-15
 * ===============  > 
 * 知识内容类型
 * 服务接口
 */
public interface KnowledgeTypeService  extends IService<KnowledgeType> {

    Boolean addType(KnowledgeTypeDTO knowledgeTypeDTO);

    List<KnowledgeTypeVO> listType(KnowledgeTypeDTO knowledgeTypeDTO);

    Boolean delType(KnowledgeTypeDTO knowledgeTypeDTO);
}
